package com.jason.auto.service;

import com.jason.auto.model.User;
import com.jason.auto.proto.cs.user.UserEditRequest;
import com.jason.auto.proto.cs.user.UserQueryRequest;
import org.springframework.data.domain.Page;

import java.util.List;

public interface UserService {

    User findUserById(Long userId);

    /**
     * 分页查询user
     */
    Page<User> findUserByPage(UserQueryRequest userQueryRequest);

    void delete(Long userId);

    void batchDelete(List<Long> userIds);

    void edit(UserEditRequest userEdit);
}